import Vue from 'vue'
import './style/index.scss'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import App from './App.vue'
import router from './router'
import store from './store'

// window挂载mapBoxGl
// import mapboxgl from 'mapbox-gl';
// mapboxgl.accessToken = 'pk.eyJ1IjoiaGF1bmVyLWdkcyIsImEiOiJjbDlwa3QxbjUwMDB5M3VucjAwcTlnNXpjIn0.6LAcrS5kMQ4Zj8vozs8F1A'
// import 'mapbox-gl/dist/mapbox-gl.css';
// window.MapBox = mapboxgl
// import mapLanguage from '@mapbox/mapbox-gl-language'
// const zhApi = 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.0/mapbox-gl-rtl-text.js'
// mapboxgl.setRTLTextPlugin(zhApi)
// window.mapLanguage = mapLanguage


Vue.config.productionTip = false
console.log(process.env,'-------')
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
